Re: Perl and AutoCommit - Mailing list pgsql-general

From Dan Sugalski
Subject Re: Perl and AutoCommit
Date
Msg-id a06210200be6bfbf72975@[192.168.0.8]
Whole thread Raw
In response to Perl and AutoCommit  (Madison Kelly <linux@alteeve.com>)
Responses Re: Perl and AutoCommit  (Madison Kelly <linux@alteeve.com>)
List pgsql-general
At 12:31 AM -0500 3/27/05, Madison Kelly wrote:
>Hi all,
>
>   After looking at the postres and perl docs plus some Googling I
>can't seem to find the answer I am looking for. I hope maybe someone
>here can help. ^_^
>
>   What I am trying to do is turn off autocommit for one particular
>task in my program. I realize I can turn off AutoCommit when I
>connect to the database but in this case that is not what I want to
>do. This is a one-off task.

Set the AutoCommit attribute of the database handle. Pull up the docs
for DBI and search for the "Database Handle Attributes" section.
--
                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

pgsql-general by date:

Previous
From: Szmutku Zoltán
Date:
Subject: PG constraint
Next
From: "Sim Zacks"
Date:
Subject: Re: Good Books